package com.zyk.scaffold.oauth.framework.interfaces;

import com.zyk.scaffold.oauth.framework.domain.AccessToken;
import com.zyk.scaffold.oauth.framework.domain.OauthContext;
import com.zyk.scaffold.oauth.framework.domain.Subject;

public interface ISubjectHandler {
    AccessToken getAccessTokenFromSubject(Subject subject);

    String getSubjectKey(OauthContext context);

    void buildSubject(AccessToken accessToken, Subject subject);
}
